package xyz.thoughtset.viewer.common.crud.core.util;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.SneakyThrows;

public class MPWrapperUtil {
    @SneakyThrows
    public static Wrapper buildWrapper(Object baseMap) {
//        List<TableFieldInfo> fieldList = TableInfoHelper.getTableInfo(objType).getFieldList();
//        for (TableFieldInfo field : fieldList) {}
        return Wrappers.lambdaQuery(baseMap);
    }
}
